package com.YCH.model.mappers.app;

import com.YCH.model.user.pojos.TbUserFollow;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbUserFollowMapper {
    TbUserFollow selectByFollowId(@Param("userId")Long userId, @Param("followId")Long followId);
    Integer insert(TbUserFollow record);;
    Integer deleteByFollowId(@Param("userId")Long userId,@Param("followId")Long followId);
    List<TbUserFollow> selectUserFollowByUserId(Long userId);
    Integer selectCountByUserId(Long userId);
    TbUserFollow selectAllByuserIdAndFollowId(@Param("userId") Long userId,@Param("followId") Long followId);
}